<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="myauctioneer.App" import="myauctioneer.dto.User" %>
<% User user = (User) session.getAttribute("user"); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>myauctioneer</title>
<script src="<%= App.getBaseUrl() %>/skin/js/datetimepicker_css.js"></script>
<link href="<%= App.getBaseUrl() %>/skin/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="container">

<div id="header">
	<h1><a href="<%= App.getBaseUrl() %>/">myauctioneer</a></h1>
</div>
<div id="search">
	<form action="<%= App.getBaseUrl() %>/" method="get">
		<table>
			<tr>
				<td><input type="text" name="search_field" id="search_field"
					value="<%= request.getParameter("search_field") == null ? "full text search" :
						request.getParameter("search_field") %>" /></td>
				<td><select name="search_category" size="1">
						<option value="">all</option>
						<option>smartphone</option>
						<option>notebook</option>
						<option>tablet</option>
				</select></td>
				<td><input type="submit"
					id="search_button" value="Search" /></td>
			</tr>
		</table>
	</form>
</div>

